package com.ctshk.rpc.order.scenic.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 修改旅客信息
 * </p>
 *
 * @author 陈雷
 * @since 2021-3-16
 */
@Data
@ApiModel(value="ScenicOrderTouristModifyReq对象", description="修改旅客信息")
public class ScenicOrderTouristModifyReq implements Serializable {

    @NotNull(message = "旅客id")
    @ApiModelProperty(value = "旅客id",required = true)
    private String id;

    @ApiModelProperty(value = "证件类型",required = true)
    private CertificatesType certificatesType;

    @ApiModelProperty(value = "旅客姓",required = true)
    private String surname;

    @ApiModelProperty(value = "旅客名",required = true)
    private String name;

    @ApiModelProperty(value = "出生日期",required = true)
    private LocalDate birthday;

    @ApiModelProperty(value = "称谓(1 先生 2 女士 3 小姐 4 男童 5 女童)",required = true)
    private String touristType;

    @ApiModelProperty(value = "证件号码",required = true)
    private String certificatesNumber;

    @ApiModelProperty(value = "证件有效期",required = true)
    private LocalDate vaildDate;

}